Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fletcher32 #281

Closed
wants to merge 2 commits into from
Closed

Fletcher32 #281

wants to merge 2 commits into from

Conversation

jreadey
Copy link
Member

@jreadey jreadey commented Oct 31, 2023

This enables the fletcher32 filter to be set in the creation property list.
Doesn't actually create a checksum but this will be helpful for compatibility with existing apps.

# this can be problematic if the encoding of the string is not valid,
# or reqires too many bytes. Use unicode sting length * 4 to handle all
# UTF8 strings correctly
type_info["charSet"] = "H5T_CSET_UTF8"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fletcher32 support should probably be separated from the fixed width UTF8 string support, since I'm since working on some tests for that

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I thought this was a branch from master.
I've created a new branch and PR.

@mattjala
Copy link
Contributor

LGTM. In order for the REST VOL's filter tests to fully pass, HSDS would also need to support (or "support" without implementing) the N-bit filter and the scale-offset filter.

@jreadey jreadey closed this Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants